﻿using Sunny.UI;
using System;

namespace CoreShop.App
{
    public partial class UIDishSchemeDetailHeader : UIUserControl
    {
        public UIDishSchemeDetailHeader()
        {
            InitializeComponent();
        }

        public event EventHandler CheckBoxChecked;
        private void uiCheckBox1_CheckedChanged(object sender, System.EventArgs e)
        {
            CheckBoxChecked?.Invoke(sender, e);
        }

        public bool Checked
        {
            get => uiCheckBox1.Checked;
            set => uiCheckBox1.Checked = value;
        }
    }
}
